package STUDENT.TRINHQUANGXUANDUC.BASIC.CAUTRUCLAPTRINH;
import java.util.Scanner;

public class BAI1 {
	public static void main(String[] args) {
		String username, password;
		Scanner sc = new Scanner(System.in);
		System.out.println("Xin moi nhap username:");
		username = sc.nextLine();
		System.out.println("Xin moi nhap mat khau:");
		sc = new Scanner(System.in);
		password = sc.nextLine();
		if (username.isEmpty()) {
			System.out.print("Ban chua nhap username");
		}
		if (password.isEmpty()) {
			System.out.println("Ban chua nhap mat khau");
		}
		if (username.equals("admin") && password.equals("123456")) {
			System.out.println("Ban da dang nhap thanh cong");
		}
		else {
			System.out.println("Ban da dang nhap that bai vui long kiem tra lai");
		}
	}
}
